package com.future.domain;


import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("`like`")  // 用反引号包裹表名，避免mysql模糊查询关键字冲突
public class Like {
    private Long id;
    private Long targetId;
    private String targetType;
    private Long userId;
    private LocalDateTime createdAt;
    private Integer isDeleted;
}
